Total Complexity | 25 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 128 |
Lines of code | 68 |
Logical lines of code | 44 |
Comment lines | 49 |
Methods | 6 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update() | 53 | 11 | 20 | |
check_coupon_exist() | 59 | 6 | 13 | |
get() | 61 | 3 | 12 | |
apply_coupon() | 69 | 2 | 7 | |
clear_coupon() | 69 | 2 | 7 | |
__construct() | 65 | 1 | 9 |